package com.jfs.qy.entity.response;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Description 摄像头链接信息实体对象
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/11/4
 */
@Data
public class CameraConnectStatus implements Serializable {
    /**
     * 通道连接状态
     * NotConfigured
     * Online
     * Offline
     * Sleep
     */
    @JSONField(name = "connect_status")
    private String connectStatus;
    /**
     * 通道状态原因
     * NotConfigured 通道未添加IPC
     * Online 已在线
     * Unauther 用户名或密码错误
     * Netwrong 网络连接错误
     * Connect 正在连接中
     * Bandlimit 带宽受限
     * Locked 用户被锁定
     */
    @JSONField(name = "offline_reason")
    private String offlineReason;
    /**
     * FaceAlarm
     * VehicleAlarm
     * Fisheye
     * Binoculars
     * Light
     * Audio
     * DualTalk
     * Siren
     * Ptz
     * Newptz
     * Iris
     * Hkptz
     * Mainstream
     * Substream
     * IO
     */
    @JSONField(name = "ability")
    private List<String> ability;
    /**
     * IPC接入协议
     */
    @JSONField(name = "protocol")
    private String protocol;
    /**
     * 报警输入
     */
    @JSONField(name = "input_num")
    private Integer inputNum;
    /**
     * 报警输出
     */
    @JSONField(name = "outputNum")
    private Integer output_num;

}
